<?php
//config admin:
define("LOGIN_MOD",0); //0 or 1
define("LOGIN_SPAM",false);
define("EDITPOST_AJAX",true);
define("LoginCookie","kutamata");
define("TimeOutLogin",60*60*2);
define("TYPE_SQL",1);
define("_TIME",time());
define("HAS_BANNER",false);
define("HAS_BACKGROUND",true);
define('FOLDER_TMP_CACHE','tmp_cache/');

define('E_ERROR',false);
define('E_WARNING',false);
define('E_PARSE',false);


error_reporting  (E_ERROR | E_WARNING | E_PARSE);
//config image size max
$img_max_width		= 700;
$img_max_height		= 525;

//config image size thumb
$img_thumb_width	= 160;
$img_thumb_height	= 120;

$folder_img_upload	= "imgs/";
$folder_temp		= "temp/";
$folder_docs        = "docs/";
$folder_path_root   = str_replace('admin','',$_SERVER['PHP_SELF']);
$folder_path_root	= dirname($folder_path_root).'/';
$folder_path_root   = str_replace('//','/',$folder_path_root);
$folder_path_root   = str_replace('\\','',$folder_path_root);
//-----config root------------------------------------------------
$root_domain        = "http://".$_SERVER['SERVER_NAME'];
$titlesite			= "demo";

$Languages=array('French'=>'fr',"English"=>"en","Ti&#7871;ng Vi&#7879;t"=>"vn");//,
//language default
$language="fr";

//Pagging ***************************************************************
$posts_per_page			= 10; // for postlist
$config_page_posts		= 20; // for postmanager in admin
$posts_per_page_search	= 20; // search
?>